//
//  CAccountMgr.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/4/13.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CAccountModel;
@interface CAccountMgr : NSObject

-(BOOL)insetAccount:(CAccountModel *)account;
-(BOOL)deleAccount:(CAccountModel *)account;
-(BOOL)updateAccount:(CAccountModel *)account;
-(CAccountModel *)getRecentlyLoginAccount;
-(NSArray *)getAccountNameList;

-(CAccountModel *)getAccountByUserName:(NSString *)userName;
- (BOOL)updateAllAcountStatus;
@end
